﻿namespace FFF.Test.Application.AppServices.CF
{
	using System;
    using System.Collections.Generic;
    using System.Threading.Tasks;
    using FFF.Test.Application.AppServices;
    using FFF.Test.Application.PublicService.AppService.TreeGrid;
    using FFF.Test.Application.Repositories.CF;
    using FFF.Test.Entity.CF;
    using FFF.Test.Entity.CF.Dto;
    using FFF.Test.Entity.CF.View;

    /// <summary>
    /// 业务参数字典表(树)应用层服务接口
    /// </summary>
    public interface ICFBizOptionAppService :
        IYdmAbpCurdAppService<CFBizOptionEntity, Guid, CFBizOptionCreateInputDto, CFBizOptionUpdateInputDto, CFBizOptionDto, ViewCFBizOption, ViewCFBizOption>
    {
        /// <summary>
        ///  获取树形列表(框架生成)
        /// </summary>
        /// <param name="inDto">树形输入</param>
        /// <returns>获取树形列表输出dto</returns>
        Task<List<TreeGridOutDto>> GetTreeGird(TreeGridInDto inDto);

        /// <summary>
        ///  获取所有的父级的id 以,分割(框架生成)
        /// </summary>
        /// <param name="id">父级id</param>
        /// <returns>父级的id以,分割</returns>
        Task<string> GetFatherIds(Guid id);
    }
}
